// MIT License
// 开源地址：https://gitee.com/co1024/AbcMvc
// Copyright (c) 2021-2022 1024
// Abc.Mvc=Furion+EF+SqlSugar+Pear layui admin.

namespace Abc.Web.Mvc.Areas.HtAdmin.Controllers
{
    /// <summary>
    /// 代码示例
    /// </summary>
    //[ValidateModelFilter]
    [AuthorityController(area: "HtAdmin", controllerDescription: "开发", PCode = "HtAdmin_Developer")]
    public class CodeSampleController : HtAdminBaseController
    {
        private readonly ILogger<DeveloperController> _logger;

        public CodeSampleController(ILogger<DeveloperController> logger)
        {
            _logger = logger;
        }

        /// <summary>
        /// 代码表单生成
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        [AuthorityMenu(name: "layui简单表单设计器", Code = "CodeForm")]
        public IActionResult CodeForm()
        {
            return View();
        }
    }
}